package com.ruoyi.project.system.file.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.project.system.shiping.domain.Shiping;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 点播文件对象 sys_file
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class File extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long fileId;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    /** 视频ID */
    @Excel(name = "视频ID")
    private Long shipingId;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 视频管理信息 */
    private List<Shiping> shipingList;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }

    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    public void setShipingId(Long shipingId) 
    {
        this.shipingId = shipingId;
    }

    public Long getShipingId() 
    {
        return shipingId;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public List<Shiping> getShipingList()
    {
        return shipingList;
    }

    public void setShipingList(List<Shiping> shipingList)
    {
        this.shipingList = shipingList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("shipingId", getShipingId())
            .append("uploadTime", getUploadTime())
            .append("shipingList", getShipingList())
            .toString();
    }
}
